Skip to content

Add support for OpenAi responses API #4564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: antonpirker/openai-overhaul
Choose a base branch
from

Conversation

antonpirker
Copy link
Member

@antonpirker antonpirker commented Jul 9, 2025

Add support for the new preferred way of using OpenAI, the responses API.

Copy link

codecov bot commented Jul 9, 2025

Codecov Report

Attention: Patch coverage is 21.27660% with 37 lines in your changes missing coverage. Please review.

Project coverage is 80.55%. Comparing base (2ccab61) to head (fc2a794).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
sentry_sdk/integrations/openai.py 19.56% 37 Missing ⚠️
Additional details and impacted files
@@                       Coverage Diff                       @@
##           antonpirker/openai-overhaul    #4564      +/-   ##
===============================================================
- Coverage                        80.71%   80.55%   -0.16%     
===============================================================
  Files                              156      156              
  Lines                            16507    16554      +47     
  Branches                          2806     2812       +6     
===============================================================
+ Hits                             13323    13335      +12     
- Misses                            2300     2336      +36     
+ Partials                           884      883       -1     
Files with missing lines Coverage Δ
sentry_sdk/consts.py 94.64% <100.00%> (+0.01%) ⬆️
sentry_sdk/integrations/openai.py 71.74% <19.56%> (-8.93%) ⬇️

... and 2 files with indirect coverage changes

@antonpirker
Copy link
Member Author

Waiting on #4566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant